function printName(person) {
    console.log(person.name);
}
var john = {
    name: 'John',
    age: 21
};
var mary = {};
printName(john);
printName(mary);
